package com.qf.mapper;

import com.qf.pojo.Order;
import com.qf.vo.OrderItem;

import java.util.List;

public interface OrderMapper {

    List<Order> findAll();

    Order findOne(int id);

    int addOrder(Order order);

    int update(Order order);

    int delete(int id);

    List<OrderItem> findAlls(int uid);

    List<OrderItem> findAlls2();
}
